﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Com.Charence.PassManager.BusinessEntities;

namespace Com.Charence.PassManager.DataComponents
{
    public class DashboardDC
    {
        public List<GetLast10AccountSummary_Result> GetLast10AccountSummary(int userId)
        {
            using (var context = new Entities())
            {
                return context.GetLast10AccountSummary(userId).ToList();
            }
        }
    }
}
